export const maintain_pie_option = {
    title: {
        show: true,
        text: "100h",
        subtext:"100h",
        textStyle: {
            fontFamily: '黑体',
            color: '#ef6b06',
            fontSize: 26
        },
        x: 'center',
        y: 'center',
        // itemGap:-25
    },
    tooltip: {
        trigger: 'item',
        // show: true
    },
    legend: {
        show: false,
        top: '5%',
        left: 'center'
    },
    color: ["#66b7f6", "#ccc"],
    series: [
        {
            name: '维保倒计时',
            type: 'pie',
            radius: ['60%', '80%'],
            // avoidLabelOverlap: false,
            // itemStyle: {
            //     borderRadius: 0,
            //     borderColor: '#fff',
            //     borderWidth: 0
            // },
            // label: {
            //     show: false,
            //     position: 'center'
            // },
            emphasis: {
                label: {
                    show: true,
                    fontSize: '20',
                    fontWeight: 'bold'
                }
            },
            // labelLine: {
            //     show: false
            // },
            data: [
                {value: 400, name: '过期:' + 400},
                {value: 500, name: '有效:' + 500},
            ]
        }
    ]
};
